import App from './App'
import './router/index';//引入拦截
import Req from './http'
import global from './utils/global'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
var http = Req.http;
Vue.prototype.$http = http
Vue.prototype.$global = global // 挂载全局配置模块

App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif